package com.ly.demo.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @Author liuyang
 * @Date 2023/7/3 19:52
 **/
@Data
public class ValidEntity {
    @Length(max = 10)
    private String date;
}
